package com.igeekhome.ccs.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.time.DateTimeException;
import java.util.Date;

@Data
public class CustomerServiceTime {
    private int csId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date workDate;
    private int groupId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLogoutTime;
    private int totalLoginTime;
    private int totalBusyTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastOnline_Time;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastOfflineTime;
    private int totalOnlineTime;

}
